package com.pine.dcts.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
@TableName("dcts_job_log")
public class JobLog  extends BaseEntity{
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Long  jobId;
    private String jobName;
    /**
     *  job开始时间
     */
    private long startTimeStamp;
    /**
     *  job结束时间
     */
    private long endTimeStamp;
    /**
     *任务总计耗时
     */
    private long totalCosts;
    /**
     *任务平均流量
     */
    private  long byteSpeedPerSecond;
    /**
     * 记录写入速度
     */
    private long recordSpeedPerSecond;
    /**
     *读出记录总数
     */
    private long totalReadRecords;
    /**
     * 读写失败总数
     */
    private long totalErrorRecords;
    /**
     *  成功还是失败
     */
    private int status;
    /**
     * 错误信息
     */
    private String errorMessage;
}
